<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin.css">
<script src="${pageContext.request.contextPath}/static/js/jquery.js"></script>
<script src="${pageContext.request.contextPath}/static/js/pintuer.js"></script>
<script type="text/javascript" src="../static/plugin/zTree_v3/js/jquery-1.4.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="../static/plugin/zTree_v3/css/zTreeStyle/zTreeStyle.css">
<script type="text/javascript" src="../static/plugin/zTree_v3/js/jquery.ztree.all.min.js"></script>

	<script type="text/javascript">
    var national = [
            "汉族", "壮族", "满族", "回族", "苗族", "维吾尔族", "土家族", "彝族", "蒙古族", "藏族", "布依族", "侗族", "瑶族", "朝鲜族", "白族", "哈尼族",
            "哈萨克族", "黎族", "傣族", "畲族", "傈僳族", "仡佬族", "东乡族", "高山族", "拉祜族", "水族", "佤族", "纳西族", "羌族", "土族", "仫佬族", "锡伯族",
            "柯尔克孜族", "达斡尔族", "景颇族", "毛南族", "撒拉族", "布朗族", "塔吉克族", "阿昌族", "普米族", "鄂温克族", "怒族", "京族", "基诺族", "德昂族", "保安族",
            "俄罗斯族", "裕固族", "乌孜别克族", "门巴族", "鄂伦春族", "独龙族", "塔塔尔族", "赫哲族", "珞巴族"
    ];
    window.onload = function ()
    {
        var nat = document.getElementById ("national");
        for ( var i = 0; i < national.length; i++)
        {
            var option = document.createElement ('option');
            option.value = i;
            var txt = document.createTextNode (national[i]);
            option.appendChild (txt);
            nat.appendChild (option);
        }
    }
</script>
</head>
<body>

<div class="panel admin-panel">

  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加参合农民档案</strong></div>
  
  <div class="body-content">
   
    <form method="post" class="form-x" action="${pageContext.request.contextPath}/sys/person.do?method=addPersonInfo&tgId=${tgId}&pageNum=1">  
    	
      
      <!-- 户主信息 -->
     <div class="form-group">
        <div class="label">
          <label>家庭编号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${familyCode }" name="familyCode" />
          <div class="tips"></div>
        </div>
      </div>
      <!-- <div class="form-group">
        <div class="label">
          <label>农合证号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" name="farmingcardCode" />
          <div class="tips"></div>
        </div>
      </div> -->
      
       <div class="form-group">
        <div class="label">
          <label>医疗证卡号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50"  name="medicalcardCode" />
          <div class="tips"></div>
        </div>
      </div>
      
      <div class="form-group">
        <div class="label">
          <label>姓名</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50"  name="Name" />
          <div class="tips"></div>
        </div>
      </div>
      
      <!--  <div class="form-group">
        <div class="label">
          <label>户内编号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="familyInCode" data-validate="required:请输入户内编号" />
          <div class="tips"></div>
        </div>
      </div> -->
      
      <div class="form-group">
        <div class="label">
          <label>与户主关系</label>
        </div>
        
        <div class="field">
          <select name="holderRelation" class="input w50">
        		<option value="1">配偶</option> 
        		<option value="2">儿子</option> 
        		<option value="3">女儿</option> 
        	</select>
         
          <div class="tips"></div>
        </div>
      </div>
      
      <input type="hidden" name="holderRelation" value="户主" />
       <div class="form-group">
        <div class="label">
          <label>身份证号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="idcardNumber" data-validate="required:请输入身份证号" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>性别</label>
        </div>
        
        <div class="field">
        	<select name="Sex"class="input w50">
        	<option value="1">男</option> 
        	<option value="2">女</option> 
        	</select>
          <div class="tips">
          </div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>出生日期</label>
        </div>
        
        <div class="field">
          <input type="date" class="input w50" value="" name="Birthday" data-validate="required:请输入出生日期" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>民族</label>
        </div>
        
        <div class="field">
        	 <select id="national" name="Nation" class="input w50">
    		</select> 
         
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>健康状况</label>
        </div>
        
        <div class="field">
         <select name="Health" class="input w50">
        		<option value="1">健康</option> 
        		<option value="2">不健康</option> 
        	</select>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>文化程度</label>
        </div>
        
        <div class="field">
          <select name="cultrueDegree" class="input w50">
        		<option value="1">文盲</option>
        		<option value="2">小学</option> 
        		<option value="3">初中</option> 
        		<option value="4">高中</option>
        		<option value="5">大学</option>
        		<option value="6">其他</option>
        	</select>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>人员属性</label>
        </div>
        
        <div class="field">
          <select name="personProperty" class="input w50">
        		<option value="1">一般人</option> 
        		<option value="2">变异人</option> 
        	</select>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>是否农业户口</label>
        </div>
        
        <div class="field">
         <select name="isContryside" class="input w50">
        		<option value="1">农业户口</option> 
        		<option value="2">城镇户口</option> 
        	</select>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>婚姻状况</label>
        </div>
        
        <div class="field">
          <select name="isMarry" class="input w50">
        		<option value="1">已婚</option> 
        		<option value="2">未婚</option> 
        	</select>
          <div class="tips"></div>
        </div>
      </div>
      
       <div class="form-group">
        <div class="label">
          <label>工作单位</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="workAddress" data-validate="required:请输入工作单位" />
          <div class="tips"></div>
        </div>
      </div>
      
      <div class="form-group">
        <div class="label">
          <label>职业</label>
        </div>
        
        <div class="field">
        <select name="Occupation" class="input w50">
        		<option value="1">农民</option> 
        		<option value="2">学生</option> 
        	</select>
         
          <div class="tips"></div>
        </div>
      </div>
      
      <div class="form-group">
        <div class="label">
          <label>常住地址</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="oftenAddress" data-validate="required:请输入工作单位" />
          <div class="tips"></div>
        </div>
      </div>
      
      
       <div class="form-group">
        <div class="label">
          <label>联系电话</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="phoneNumber" data-validate="required:请输入联系电话" />
          <div class="tips"></div>
        </div>
      </div>
      
      
      
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
        </div>
      
     
	  
    </form>
  </div>
  
</div>

</body>
</html>